package com.yao.ro.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* 装备材料表
*
* @author autoCode
* @version 1.0.0-SNAPSHOT
* @date 2020-04-22
*/
@Data
public class EquipmentListEntity implements Serializable {

private static final long serialVersionUID = 1L;

    /**
    * 自增主键
    */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Integer id;
    /**
    * 装备表id
    */
    @TableField(value = "`eqmId`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer eqmId;
    /**
    * 需要物品id
    */
    @TableField(value = "`goodsId`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer goodsId;
    /**
    * 需要数量
    */
    @TableField(value = "`needs`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer needs;
    /**
    * 剩余数量
    */
    @TableField(value = "`remaining`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer remaining;
    /**
    * 收集 1-完成
    */
    @TableField(value = "`collectStatus`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer collectStatus;
    /**
    * 创建时间
    */
    @TableField(value = "`createTime`", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
    * 更新时间
    */
    @TableField(value = "`updateTime`", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}